.class public Lcom/zuiapps/sdk/analytics/db/AnalyticsSettingDBUtil;
.super Ljava/lang/Object;
.source "AnalyticsSettingDBUtil.java"


# static fields
.field private static final LAST_POST_DATA_TIME:Ljava/lang/String; = "last_post_data_time"

.field private static final POST_DATA_DELAY:Ljava/lang/String; = "post_data_delay"

.field public static final TIME_DALAY:J = 0x7530L


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 10
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static getLastPostDataTime(Landroid/content/Context;)J
    .registers 5
    .param p0, "mContext"    # Landroid/content/Context;

    .prologue
    .line 17
    invoke-static {p0}, Lcom/zuiapps/sdk/analytics/db/AnalyticsPrefHelper;->getInstance(Landroid/content/Context;)Lcom/zuiapps/sdk/analytics/db/AnalyticsPrefHelper;

    move-result-object v0

    const-string v1, "last_post_data_time"

    const-wide/16 v2, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lcom/zuiapps/sdk/analytics/db/AnalyticsPrefHelper;->getPref(Ljava/lang/String;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public static getPostDataDelay(Landroid/content/Context;)J
    .registers 5
    .param p0, "mContext"    # Landroid/content/Context;

    .prologue
    .line 25
    invoke-static {p0}, Lcom/zuiapps/sdk/analytics/db/AnalyticsPrefHelper;->getInstance(Landroid/content/Context;)Lcom/zuiapps/sdk/analytics/db/AnalyticsPrefHelper;

    move-result-object v0

    const-string v1, "post_data_delay"

    const-wide/16 v2, 0x7530

    invoke-virtual {v0, v1, v2, v3}, Lcom/zuiapps/sdk/analytics/db/AnalyticsPrefHelper;->getPref(Ljava/lang/String;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public static setLastPostDataTime(Landroid/content/Context;J)V
    .registers 6
    .param p0, "mContext"    # Landroid/content/Context;
    .param p1, "time"    # J

    .prologue
    .line 21
    invoke-static {p0}, Lcom/zuiapps/sdk/analytics/db/AnalyticsPrefHelper;->getInstance(Landroid/content/Context;)Lcom/zuiapps/sdk/analytics/db/AnalyticsPrefHelper;

    move-result-object v0

    const-string v1, "last_post_data_time"

    invoke-virtual {v0, v1, p1, p2}, Lcom/zuiapps/sdk/analytics/db/AnalyticsPrefHelper;->setPref(Ljava/lang/String;J)V

    .line 22
    return-void
.end method

.method public static setPostDataDelay(Landroid/content/Context;J)V
    .registers 6
    .param p0, "mContext"    # Landroid/content/Context;
    .param p1, "time"    # J

    .prologue
    .line 29
    invoke-static {p0}, Lcom/zuiapps/sdk/analytics/db/AnalyticsPrefHelper;->getInstance(Landroid/content/Context;)Lcom/zuiapps/sdk/analytics/db/AnalyticsPrefHelper;

    move-result-object v0

    const-string v1, "post_data_delay"

    invoke-virtual {v0, v1, p1, p2}, Lcom/zuiapps/sdk/analytics/db/AnalyticsPrefHelper;->setPref(Ljava/lang/String;J)V

    .line 30
    return-void
.end method
